/**
 * 
 */
package com.wqr.it.ecwdr.vo;

import java.io.Serializable;

/**
 * 基础VO
 * @author adinos
 *
 */
public class BaseResourceVO implements Serializable {
	private static final long serialVersionUID = 8218095636926813511L;
	protected long index = -1;
	protected int sRowIdx;
	protected String createdBy;
	protected String createDate;
	protected String lastUpdatedBy;
	protected String lastUpdateDate;
		
	/**
	 * 获取创建人
	 * @return 创建人
	 */
	public String getCreatedBy() {
		return createdBy;
	}
	/**
	 * 设置创建人
	 * @param createdBy 创建人
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}
	/**
	 * 获取创建日期
	 * @return 创建日期
	 */
	public String getCreateDate() {
		return createDate;
	}
	/**
	 * 设置创建日期
	 * @param createDate 创建日期
	 */
	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}
	/**
	 * 获取最后更新人
	 * @return 最后更新人
	 */
	public String getLastUpdatedBy() {
		return lastUpdatedBy;
	}
	/**
	 * 设置最后更新人
	 * @param lastUpdatedBy 最后更新人
	 */
	public void setLastUpdatedBy(String lastUpdatedBy) {
		this.lastUpdatedBy = lastUpdatedBy;
	}
	/**
	 * 获取最后更新日期
	 * @return 最后更新日期
	 */
	public String getLastUpdateDate() {
		return lastUpdateDate;
	}
	/**
	 * 设置最后更新日期
	 * @param lastUpdateDate 最后更新日期
	 */
	public void setLastUpdateDate(String lastUpdateDate) {
		this.lastUpdateDate = lastUpdateDate;
	}
	/**
	 * @return the sRowIdx
	 */
	public int getsRowIdx() {
		return sRowIdx;
	}
	/**
	 * @param sRowIdx the sRowIdx to set
	 */
	public void setsRowIdx(int sRowIdx) {
		this.sRowIdx = sRowIdx;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + sRowIdx;
		return result;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (!(obj instanceof BaseResourceVO)) {
			return false;
		}
		BaseResourceVO other = (BaseResourceVO) obj;
		if (sRowIdx != other.sRowIdx) {
			return false;
		}
		return true;
	}
	public long getIndex() {
		return index;
	}
	public void setIndex(long index) {
		this.index = index;
	}
}
